introduce size_param()
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 31 Aug 2009 09:06:53 +0000 (10:06 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 31 Aug 2009 09:06:53 +0000 (10:06 +0100)
commite351818d402419da30bcd2e13ec0896d66b990d6
treef13dc7244d9e40e583dc7366d72622e55e61bfd7
parent2ea33061b38d5997323293da150b1bda8c6beba2
introduce size_param()

With there being several instances of custom_param() where the handler
is just invoking parse_size_and_unit(), it seems to make sense to
introduce a simplifying abstraction.

Also fix serial_txbufsz not having been guaranteed to be a power of
two.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/arch/ia64/xen/domain.c
xen/arch/x86/e820.c
xen/common/kernel.c
xen/drivers/char/console.c
xen/drivers/char/serial.c
xen/include/xen/init.h